package com.demo.controller;

import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author mifei
 * @create 2020-07-30 16:25
 **/
@Service
public class UserService  {


//    public PageUtils queryPage(Map<String, Object> params) {
//        String username = (String)params.get("username");
//        Long createUserId = (Long)params.get("createUserId");
//
//
//        IPage<SysUserEntity> page = this.page(
//                new Query<SysUserEntity>().getPage(params),
//                new QueryWrapper<SysUserEntity>()
//                        .like(StringUtils.isNotBlank(username),"username", username)
//                        .eq(createUserId != null,"create_user_id", createUserId)
//        );
//
//        return new PageUtils(page);
//    }
}
